how to solve any linear equation